package eu.vranckaert.calendar.test;

import eu.vranckaert.calendar.util.TimeBlock;

import java.util.Date;

/**
 * Date: 11/03/13
 * Time: 13:47
 *
 * @author Dirk Vranckaert
 */
public class MyTimeEntity implements TimeBlock {
    private Date startTime;
    private Date endTime;

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public Date getTimeBlockStartTime() {
        return startTime;
    }

    @Override
    public Date getTimeBlockEndTime() {
        return endTime;
    }

    @Override
    public Object getTimeBlockId() {
        return null;
    }

    @Override
    public String getTimeBlockTitle() {
        return startTime.toString();
    }
}
